* keyboard.c (tty_read_avail_input): Don't treat a -1 return from
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 27 Mar 2009 16:14:23 +0000 (16:14 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 27 Mar 2009 16:14:23 +0000 (16:14 +0000)
commit5d5b4d044e473212b3f6e5e8a80afe0254cf9b57
tree3831eb52807604587cc55e589c887e12eeedb630
parent6b5f2ec6eb1204482c7411250938fbfdaf19e620
* keyboard.c (tty_read_avail_input): Don't treat a -1 return from
Gpm_GetEvent as an error that justifies closing the filedescriptor.
* term.c (close_gpm): Get the filedescriptor as a (new) parameter.
(Fgpm_mouse_stop): Pass that new parameter.
* termhooks.h (close_gpm): Adjust prototype.
src/ChangeLog
src/keyboard.c
src/term.c
src/termhooks.h